<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Lithne: E:/My Documents/Arduino/libraries/Lithne/Lithne.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Lithne
   &#160;<span id="projectnumber">v0.9</span>
   </div>
   <div id="projectbrief">Lithne Library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_lithne_8h.html','');
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">E:/My Documents/Arduino/libraries/Lithne/Lithne.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00012"></a>00012 <span class="preprocessor">#ifndef Lithne_h</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define Lithne_h</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &quot;Lithne_Config.h&quot;</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="comment">/* The following code makes the Library compatible with Arduino 1.0 */</span>
<a name="l00018"></a>00018 <span class="preprocessor">#if defined(ARDUINO) &amp;&amp; ARDUINO &gt;= 100</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">        #include &quot;Arduino.h&quot;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#else</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">        #include &quot;WProgram.h&quot;</span>
<a name="l00022"></a>00022 <span class="preprocessor">        #include &quot;cppfix.h&quot;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#endif</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &quot;LithneDefinitions.h&quot;</span>
<a name="l00026"></a>00026 <span class="preprocessor">#include &quot;XBee.h&quot;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &quot;Message.h&quot;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;Node.h&quot;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="comment">/* MAX_NODES</span>
<a name="l00031"></a>00031 <span class="comment">Define the number of nodes that are created</span>
<a name="l00032"></a>00032 <span class="comment">- Note that no more than MAX_NODES can be added through the AddNode() function</span>
<a name="l00033"></a>00033 <span class="comment">Default is 20</span>
<a name="l00034"></a>00034 <span class="comment">**/</span>
<a name="l00035"></a>00035 <span class="preprocessor">#ifndef MAX_NODES</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">        #define MAX_NODES 20</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>        
<a name="l00039"></a>00039 <span class="comment">/* MAX_ARGS</span>
<a name="l00040"></a>00040 <span class="comment">Define the number of arguments (ints) that can be used in a message</span>
<a name="l00041"></a>00041 <span class="comment">- Note that no more than MAX_ARGS can be added through the addArgument() function</span>
<a name="l00042"></a>00042 <span class="comment">Default is 8</span>
<a name="l00043"></a>00043 <span class="comment">**/</span>
<a name="l00044"></a>00044 <span class="preprocessor">#ifndef MAX_ARGS</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">        #define MAX_ARGS 20</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>        
<a name="l00048"></a>00048 <span class="comment">/* DB_MEMORY</span>
<a name="l00049"></a>00049 <span class="comment">Define the number of stored DB readings </span>
<a name="l00050"></a>00050 <span class="comment">Default is 5</span>
<a name="l00051"></a>00051 <span class="comment">**/</span>
<a name="l00052"></a>00052 <span class="preprocessor">#ifndef DB_MEMORY</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">        #define DB_MEMORY 5</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span>
<a name="l00056"></a><a class="code" href="class_lithne_class.html">00056</a> <span class="keyword">class </span><a class="code" href="class_lithne_class.html">LithneClass</a>
<a name="l00057"></a>00057 {
<a name="l00058"></a>00058   <span class="keyword">public</span>:
<a name="l00059"></a>00059         <span class="comment">/*      Constructor and destructor      */</span>
<a name="l00060"></a>00060         <a class="code" href="class_lithne_class.html#a5fbcf20c03946881f7949a1a1370a359">LithneClass</a>();
<a name="l00061"></a>00061         ~<a class="code" href="class_lithne_class.html">LithneClass</a>();
<a name="l00062"></a>00062         
<a name="l00063"></a>00063         <span class="comment">/*      Functions that return nothing   */</span>
<a name="l00064"></a>00064         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a1d0f3adecbcb9138768e4a3f941bc318">init</a>( uint32_t _baud = 115200, HardwareSerial &amp; port = Serial );
<a name="l00065"></a>00065         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a0bd0c0fbd966cc7e8f3ad0ba46bad922">begin</a>( uint32_t _baud = 115200, HardwareSerial &amp; port = Serial );
<a name="l00066"></a>00066         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a91bc4d4476c406e994bef51e1481ba63">setRecipient</a>( uint8_t _i );
<a name="l00067"></a>00067         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a91bc4d4476c406e994bef51e1481ba63">setRecipient</a>( XBeeAddress64 _add64 );
<a name="l00068"></a>00068         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a5d4610fb0eb35bd8a0d4b78bc9e07579">setRecipient16</a>( uint16_t _add16 );
<a name="l00069"></a>00069         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a839969ec979c591d9c78d825bc9e6140">setFunction</a>( uint8_t _function );
<a name="l00070"></a>00070         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#aa5472d1a6c142ea5181e1f1009578ae8">addArgument</a>( uint16_t _arg );
<a name="l00071"></a>00071         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#ae9399f5ec7881c5d18173def8068108e">send</a>( );
<a name="l00072"></a>00072         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#ae9399f5ec7881c5d18173def8068108e">send</a>( XBeeAddress64 recipient, uint8_t <span class="keyword">function</span> );
<a name="l00073"></a>00073         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#ae9399f5ec7881c5d18173def8068108e">send</a>( uint8_t <span class="keywordtype">id</span>, uint8_t <span class="keyword">function</span> );
<a name="l00074"></a>00074         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a240a81cd6a7613fb6394d3c7d2bbd3a9">sendMessage</a>( <a class="code" href="class_message.html">Message</a> * _mes );
<a name="l00075"></a>00075         
<a name="l00076"></a>00076         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#aa753b7136f67e3cb83d737c6d735e1a2">sendDBRequest</a>( uint8_t _id );
<a name="l00077"></a>00077         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#aa753b7136f67e3cb83d737c6d735e1a2">sendDBRequest</a>( XBeeAddress64 _add64 );
<a name="l00078"></a>00078         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#aa753b7136f67e3cb83d737c6d735e1a2">sendDBRequest</a>( <a class="code" href="class_node.html">Node</a> * _receivingNode );
<a name="l00079"></a>00079         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#adf21dd1cc2dc613c8548ea8acb1b6639">sendDBRequest16</a>( uint16_t _addr16 );
<a name="l00080"></a>00080 
<a name="l00081"></a>00081         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a43203433b3de84a2aae44b58f8cc5c2e">getMyInfo</a>();
<a name="l00082"></a>00082         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a17fb87eca91a2945b13cd0c9ea651aee">setScope</a>( uint16_t _scope );
<a name="l00083"></a>00083         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#acf82b576d4609a7db32fac9ca8749194">addScope</a>( uint16_t _scope );
<a name="l00084"></a>00084         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a0da8707d4b475d6a37dc5668615081e3">joinGroup</a>( String _group );
<a name="l00085"></a>00085         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#af052449ab222cc24d3f4b2cacd62e885">helloWorld</a>( <span class="keywordtype">bool</span> askReply = <span class="keyword">false</span> );
<a name="l00086"></a>00086         
<a name="l00087"></a>00087         <span class="comment">/*      Functions that return bits (booleans)   */</span>
<a name="l00088"></a>00088         <span class="keywordtype">bool</span> <a class="code" href="class_lithne_class.html#a4a47f12debf6d5d7273c3e5fb360417a">available</a>();
<a name="l00089"></a>00089         <span class="keywordtype">bool</span> <a class="code" href="class_lithne_class.html#afe57aa0db9cebb459ce153e8b2efd97c">addNode</a>( uint8_t _id, XBeeAddress64 _addr64 = XBeeAddress64(0x0, 0xFFFF), uint16_t _addr16 = UNKNOWN_16B );
<a name="l00090"></a>00090         <span class="keywordtype">bool</span> <a class="code" href="class_lithne_class.html#a4679fe0109c566c514ad478259590d86">nodeKnown</a>( uint8_t _id );
<a name="l00091"></a>00091         <span class="keywordtype">bool</span> <a class="code" href="class_lithne_class.html#a0d67173c01e15f0259d36900dc711ab4">nodeKnown64</a>( XBeeAddress64 _add64 );
<a name="l00092"></a>00092         <span class="keywordtype">bool</span> <a class="code" href="class_lithne_class.html#a7119697e190858f401cd680810388cbd">nodeKnown16</a>( uint16_t _addr16 );
<a name="l00093"></a>00093         <span class="keywordtype">bool</span> <a class="code" href="class_lithne_class.html#ac5932fd98add0f74369dd4eeef52a0cd">newDBMeasurement</a>( uint8_t _id );
<a name="l00094"></a>00094         <span class="keywordtype">bool</span> <a class="code" href="class_lithne_class.html#a90812fe7bc3782b79ab45d50f1a06145">hasScope</a>( uint16_t _scope );
<a name="l00095"></a>00095         
<a name="l00096"></a>00096         <span class="comment">/*      Functions that return bytes (8-bit integers)    */</span>
<a name="l00097"></a>00097         uint8_t <a class="code" href="class_lithne_class.html#a3e4d24990d8260faab7799bf1a94ba25">digitalPin</a>( uint8_t _position );
<a name="l00098"></a>00098         uint8_t <a class="code" href="class_lithne_class.html#ac26ce6ebaa8680eeabf7f678edfef6ab">pwmPin</a>( uint8_t _position );
<a name="l00099"></a>00099         uint8_t <a class="code" href="class_lithne_class.html#aadb53b8c2f789c39bc7d201ed4534e7c">getNumberOfArguments</a>();
<a name="l00100"></a>00100         uint8_t <a class="code" href="class_lithne_class.html#a088d8fd346428f798252103fd4a01464">getNumberOfNodes</a>();
<a name="l00101"></a>00101 <span class="comment">//      uint8_t getNodeId( XBeeAddress64 _add64 );                                                      DEPRECATED getNodeBy64(_addr64)-&gt;getID();</span>
<a name="l00102"></a>00102 <span class="comment">//      uint8_t getNodeId( uint16_t _add16 );                                                           DEPRECATED getNodeBy16(_addr16)-&gt;getID();</span>
<a name="l00103"></a>00103 <span class="comment">//      uint8_t setNodeAddress( XBeeAddress64 _add64, uint16_t _add16 );        DEPRECATED getNodeBy64(_addr64)-&gt;setAddress16(_addr16);</span>
<a name="l00104"></a>00104         
<a name="l00105"></a>00105         <span class="comment">/*      Functions that return standard integers (16-bit integers)       */</span>
<a name="l00106"></a>00106         uint16_t <a class="code" href="class_lithne_class.html#ad0c185e247f59816bfe6eabe01805506">getFunction</a>();
<a name="l00107"></a>00107         uint16_t <a class="code" href="class_lithne_class.html#aab0c580ab2647e6fba95fbe547ebc42f">getArgument</a>( uint8_t _arg );
<a name="l00108"></a>00108 <span class="comment">//      uint16_t getDB( uint8_t _id );                                                                          DEPRECATED getNodeByID(_id)-&gt;getDB();</span>
<a name="l00109"></a>00109 <span class="comment">//      uint16_t getNodeAddress16( XBeeAddress64 _add64 );                                      DEPRECATED getNodeBy64(_addr64)-&gt;getAddress16();</span>
<a name="l00110"></a>00110 <span class="comment">//      uint16_t getNodeAddress16( uint8_t _nodeId );                                           DEPRECATED getNodeByID(_id)-&gt;getAddress16();</span>
<a name="l00111"></a>00111 
<a name="l00112"></a>00112         uint16_t <a class="code" href="class_lithne_class.html#a252873cdddcbf578e97449560d1e32f2">getMyAddress16</a>( <span class="keywordtype">bool</span> forceCheck = <span class="keyword">false</span> );
<a name="l00113"></a>00113         uint16_t <a class="code" href="class_lithne_class.html#a63567631e8d26854dfe89d58eed47df4">getMyPAN</a>( <span class="keywordtype">bool</span> forceCheck = <span class="keyword">false</span> );
<a name="l00114"></a>00114         uint16_t <a class="code" href="class_lithne_class.html#aad0e4c1548fe8c12716e596f1e0955cc">getMyAssociationStatus</a>( <span class="keywordtype">bool</span> forceCheck = <span class="keyword">false</span> );
<a name="l00115"></a>00115         uint16_t <a class="code" href="class_lithne_class.html#af46fefad0e438edaedd735e1e6ce249c">getScope</a>();
<a name="l00116"></a>00116         uint16_t <a class="code" href="class_lithne_class.html#aae703a3f9faabb3474d1f08b002f84e2">hashGroup</a>( String _group );
<a name="l00117"></a>00117         uint16_t <a class="code" href="class_lithne_class.html#a4adf83103b7030336d7dffe792457bb5">getSender16</a>();
<a name="l00118"></a>00118         
<a name="l00119"></a>00119         <span class="comment">/*      Functions that return longs (32-bit integers)   */</span>
<a name="l00120"></a>00120         uint32_t <a class="code" href="class_lithne_class.html#a8dfe8a830c34eb495d5950b2ca70c2ac">sendATCommand</a>( uint8_t * cmd, uint16_t waitForResponse = 0 );
<a name="l00121"></a>00121         
<a name="l00122"></a>00122         <span class="comment">/*      Functions that return Objects   */</span>
<a name="l00123"></a>00123 <span class="comment">//      XBeeAddress64 getNodeAddress64( uint8_t _id );                                          DEPRECATED getNodeByID(_id)-&gt;getAddress64();</span>
<a name="l00124"></a>00124         XBeeAddress64 <a class="code" href="class_lithne_class.html#a655dc1f9216a2fbcab23492bd9d9093b">getSender64</a>();
<a name="l00125"></a>00125         XBeeAddress64 <a class="code" href="class_lithne_class.html#a1617463636108b5cfbc7f0f6b96af506">getMyAddress64</a>( <span class="keywordtype">bool</span> forceCheck = <span class="keyword">false</span> );
<a name="l00126"></a>00126         
<a name="l00127"></a>00127         <span class="comment">/*      Node pointer retrieval  */</span>
<a name="l00128"></a>00128         <a class="code" href="class_node.html">Node</a> * <a class="code" href="class_lithne_class.html#ace25ce0768e29f56f0613991b65a90f6">getNode</a>( uint8_t _position );
<a name="l00129"></a>00129         <a class="code" href="class_node.html">Node</a> * <a class="code" href="class_lithne_class.html#a51d4c270e7f9ea1deed445cbb541f799">getNodeBy64</a>( XBeeAddress64 _addr64 );
<a name="l00130"></a>00130         <a class="code" href="class_node.html">Node</a> * <a class="code" href="class_lithne_class.html#a6aa107544cddb1983e17b85262b9810d">getNodeBy16</a>( uint16_t _addr16 );
<a name="l00131"></a>00131         <a class="code" href="class_node.html">Node</a> * <a class="code" href="class_lithne_class.html#a434a3927e5b05d7c5a1df9f33fef791c">getNodeByID</a>( uint8_t _nodeId );
<a name="l00132"></a>00132   <span class="keyword">private</span>:
<a name="l00133"></a>00133         <span class="keywordtype">bool</span> newMessage;
<a name="l00134"></a>00134         <span class="keywordtype">bool</span> debugMode;
<a name="l00135"></a>00135         
<a name="l00136"></a>00136         <span class="keywordtype">void</span> <a class="code" href="class_lithne_class.html#a91bc4d4476c406e994bef51e1481ba63">setRecipient</a>( <a class="code" href="class_node.html">Node</a> * receivingNode );
<a name="l00137"></a>00137         
<a name="l00138"></a>00138         <span class="comment">/* These functions are only local to retrieve the position in the array */</span>
<a name="l00139"></a>00139         uint16_t getNodeArrayPosition( uint8_t _nodeId );
<a name="l00140"></a>00140         uint16_t getNodeArrayPosition( uint16_t _add16 );
<a name="l00141"></a>00141         uint16_t getNodeArrayPosition( XBeeAddress64 _add64 );
<a name="l00142"></a>00142 
<a name="l00143"></a>00143         <span class="comment">/* Create two pointers to standard messages we use */</span>
<a name="l00144"></a>00144         <a class="code" href="class_message.html">Message</a> * incomingMessage;
<a name="l00145"></a>00145         <a class="code" href="class_message.html">Message</a> * outgoingMessage;
<a name="l00146"></a>00146         <span class="comment">/* Create a pointer to an array of nodes with length MAX_NODES */</span>
<a name="l00147"></a>00147         <a class="code" href="class_node.html">Node</a> * nodes[MAX_NODES];
<a name="l00148"></a>00148         
<a name="l00149"></a>00149         uint16_t scopes[MAX_SCOPES];    <span class="comment">//Stores the HASH conversions of the groups the node belongs to</span>
<a name="l00150"></a>00150         uint16_t numNodes;                              <span class="comment">//Contains the number of nodes in storage</span>
<a name="l00151"></a>00151         uint16_t last16B;                               <span class="comment">//Stores the last 16-bit address we send a message to.</span>
<a name="l00152"></a>00152         uint16_t myAddress16;                   <span class="comment">//Stores own 16-bit address.</span>
<a name="l00153"></a>00153         uint16_t myPANid;                               <span class="comment">//Stores the PAN ID of the network</span>
<a name="l00154"></a>00154         uint16_t myAssStat;                             <span class="comment">//Stores the association status of the node</span>
<a name="l00155"></a>00155         
<a name="l00156"></a>00156         XBeeAddress64   last64B;                <span class="comment">//Stores the last 64-bit address we send a message to.</span>
<a name="l00157"></a>00157         XBeeAddress64   myAddress64;
<a name="l00158"></a>00158 
<a name="l00159"></a>00159         <span class="keywordtype">void</span> readXbee ();
<a name="l00160"></a>00160 };
<a name="l00161"></a>00161 
<a name="l00162"></a>00162 <span class="comment">/*      Here we tell the compiler the definitions of</span>
<a name="l00163"></a>00163 <span class="comment">        all functions are given externally      */</span>
<a name="l00164"></a>00164 <span class="keyword">extern</span> <a class="code" href="class_lithne_class.html">LithneClass</a> Lithne;
<a name="l00165"></a>00165 
<a name="l00166"></a>00166 <span class="preprocessor">#endif</span>
<a name="l00167"></a>00167 <span class="preprocessor"></span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>Lithne.h</b>      </li>

    <li class="footer">Generated on Wed Apr 4 2012 17:22:48 for Lithne by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
